Skip to content

SMOODEV-2386: Maven Central publishing config for the Kotlin SDK#127

Merged
brentrager merged 1 commit into
mainfrom
SMOODEV-2386-maven-central-prep
Jul 9, 2026
Merged

SMOODEV-2386: Maven Central publishing config for the Kotlin SDK#127
brentrager merged 1 commit into
mainfrom
SMOODEV-2386-maven-central-prep

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Code-side completion for publishing ai.smoo:smooai-config to Maven Central:

  • POM metadata Central requires (name, description, license, developers, scm) + -sources/-javadoc jars
  • Conditional PGP signing — only when MAVEN_SIGNING_KEY is present, so local dev and JitPack builds are untouched (verified publishToMavenLocal still green)
  • Staging-repo publishing wired to OSSRH_USERNAME/PASSWORD
  • Manual Publish Kotlin SDK workflow (version input), fail-loud when secrets are missing

Remaining — account-side only (Brent, ~15 min once):

  1. Create a Sonatype Central Portal account (central.sonatype.com) and register the ai.smoo namespace — verification = one DNS TXT record on smoo.ai
  2. Generate a portal token → repo secrets OSSRH_USERNAME + OSSRH_PASSWORD
  3. gpg --gen-key (or reuse) → export ASCII-armored private key → MAVEN_SIGNING_KEY + MAVEN_SIGNING_PASSWORD
  4. Actions → Publish Kotlin SDK → version 0.1.0 — then the android app's JitPack pin swaps for ai.smoo:smooai-config:0.1.0

🤖 Generated with Claude Code

https://claude.ai/code/session_01MPVyaZaAGgvFRUq34z4qJ8

Everything code-side for ai.smoo:smooai-config on Central: POM metadata
(name/license/scm/developers), sources+javadoc jars, conditional PGP
signing (skipped without the key so local dev and JitPack stay
untouched — verified publishToMavenLocal still green), staging repo
wiring, and a manual publish-kotlin workflow gated on the secrets.
Remaining is account-side only: Sonatype Central account, ai.smoo
namespace verification via smoo.ai DNS TXT, and four repo secrets.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MPVyaZaAGgvFRUq34z4qJ8
@brentrager brentrager merged commit e71b105 into main Jul 9, 2026
2 of 3 checks passed
@brentrager brentrager deleted the SMOODEV-2386-maven-central-prep branch July 9, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant